<include file="Public:header" />
<include file="Public:left" />

<form method="post" enctype="multipart/form-data">
    <input type="hidden" name="id" <if condition="isset($data['refund_id'])">value="{$data.refund_id}"</if> />
    <section>
        <h2><strong>退款详情</strong><a class="fr" href="{:url('order/refund')}">返回退款列表</a></h2>

        <ul class="ulColumn2">

            <li>
                <span class="item_name" style="width:120px;">订单单号：</span>
                <a href="{:url('order/det',array('id' => $data['order_id']))}">{$data['order_sn']}</a>
            </li>
            <li>
                <span class="item_name" style="width:120px;">退款单号：</span>
                {$data['refund_sn']}
            </li>
            <li>
                <span class="item_name" style="width:120px;">是否收到货：</span>
                <switch name="data.is_receive">
                    <case value="0">未收到货</case>
                    <case value="1">已收到货</case>
                </switch>
            </li>
            <li>
                <span class="item_name" style="width:120px;">退款理由：</span>
                {$data.reason}
            </li>
            <li>
                <span class="item_name" style="width:120px;">退款金额：</span>
                {$data.money}元
            </li>
            <li>
                <span class="item_name" style="width:120px;">图片：</span>
                <if condition="!empty($data['images'])">
                    <foreach name="data.images" item="ig">
                        <img src="{$ig}" alt="" width="200px">
                    </foreach>
                </if>
            </li>
            <li>
                <span class="item_name" style="width:120px;">状态：</span>
                <switch name="data.status">
                <case value="-1">不同意</case>
                <case value="0">待审核</case>
                <case value="1">同意</case>
                <case value="2">已退款</case>
                </switch>
            </li>
            <if condition="$data['status'] eq 0">
            <li>
                <span class="item_name" style="width:120px;">操作：</span>
                <input type="radio" name="status" value="1" checked>同意
                <input type="radio" name="status" value="-1">不同意
            </li>
            </if>
            <li>
                <span class="item_name" style="width:120px;"></span>
                <input type="submit" class="link_btn" value="提交" />
            </li>
        </ul>
    </section>
</form>

</div>
</section>
</body>

</html>